package com.google.sky.domain;

import com.google.sky.Position;

/**
 * @author: sk_y
 */
public class PositionImpl implements Position {
    private int _x;

    private int _y;

    private boolean _isEmpty;

    private boolean _isMine;

    public PositionImpl(int x, int y, boolean isEmpty, boolean isMine) {
        this._x = x;
        this._y = y;
        this._isEmpty = isEmpty;
        this._isMine = isMine;
    }

    @Override
    public int getX() {
        return _x;
    }

    @Override
    public int getY() {
        return _y;
    }

    @Override
    public boolean isMine() {
        return _isMine;
    }

    @Override
    public boolean isEmpty() {
        return _isEmpty;
    }
}
